function showDialog(dialog_type, arguments) {
	switch (dialog_type) {
		case "bookSelect":
			var result = window.showModalDialog('../comm/enterBookSearchDlg.do', null, 'dialogwidth: 700; dialogheight: 430;');
			break;
		case "imgUpload":
			var result = window.showModalDialog('../comm/enterImgUploadDlg.do', null, 'dialogwidth: 500; dialogheight: 250;');
			break;
		default:
			return null;
			
		return result;
	}
}
